package com.ljm.ljm_crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("customer")
public class Customer extends BaseEntity {


    @TableId(value = "cust_id", type = IdType.AUTO)
    private Integer custId;

    private String custName;

    private String sex;

    private String telphone;

    private String company;

    private String address;

    private Integer empId;

    private Integer isOrders;

    @TableField(exist = false)
    private Employee employee;

}
